package com.uchengwang.ui.cm_ui.umsg.bean;

import java.io.Serializable;

/**
 * Created by U城网 on 2017/5/4.
 * 校园社团bean
 */

public class SchoolClubBean implements Serializable{
    private String backgroundImg;
    private String cityName;
    private String cityCode;
    private String contact;
    private String contactPerson;
    private int fans;
    private int follows;
    private long createTime;
    private long buildTime;
    private int groupCount;
    private boolean isActive;
    private String logoImg;
    private int membersCount;
    private String orgDescription;
    private String orgName;
    private String orgSign;
    private int orgType;//组织类别(0=社团 1=兴趣 2-同乡会)
    private long parClassifyId;
    private String parClassifyName;
    private long uid;//社团ID 或者校吧的板块ID
    private long uniId;
    private String uniName;
    private long updateTime;
    private boolean isFollow;
    private boolean isLink;//是否关联
    private boolean isCheck;//是否选中 不是服务器返回字段，筛选时使用
    private boolean recruitUnread;//自己的社团是否有报名／留言新消息
    private String orgAdminName;//社长姓名
    private boolean isMyCreate;//不是后台返回 是否是自己创建的社团
    private boolean isRecom;//不是后台返回 是否查询附近推荐

    public String getOrgAdminName() {
        return orgAdminName;
    }

    public void setOrgAdminName(String orgAdminName) {
        this.orgAdminName = orgAdminName;
    }

    public boolean isRecom() {
        return isRecom;
    }

    public void setRecom(boolean recom) {
        isRecom = recom;
    }

    public boolean isRecruitUnread() {
        return recruitUnread;
    }

    public void setRecruitUnread(boolean recruitUnread) {
        this.recruitUnread = recruitUnread;
    }

    public boolean isMyCreate() {
        return isMyCreate;
    }

    public void setMyCreate(boolean myCreate) {
        isMyCreate = myCreate;
    }

    public boolean isLink() {
        return isLink;
    }

    public void setLink(boolean link) {
        isLink = link;
    }


    public boolean isCheck() {
        return isCheck;
    }

    public void setCheck(boolean check) {
        isCheck = check;
    }

    public boolean isFollow() {
        return isFollow;
    }

    public void setFollow(boolean follow) {
        isFollow = follow;
    }

    public long getBuildTime() {
        return buildTime;
    }

    public void setBuildTime(long buildTime) {
        this.buildTime = buildTime;
    }

    public String getUniName() {
        return uniName;
    }

    public void setUniName(String uniName) {
        this.uniName = uniName;
    }

    public String getBackgroundImg() {
        return backgroundImg;
    }

    public void setBackgroundImg(String backgroundImg) {
        this.backgroundImg = backgroundImg;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public int getGroupCount() {
        return groupCount;
    }

    public void setGroupCount(int groupCount) {
        this.groupCount = groupCount;
    }

    public boolean isActive() {
        return isActive;
    }

    public void setActive(boolean active) {
        isActive = active;
    }

    public String getLogoImg() {
        return logoImg;
    }

    public void setLogoImg(String logoImg) {
        this.logoImg = logoImg;
    }

    public int getMembersCount() {
        return membersCount;
    }

    public void setMembersCount(int membersCount) {
        this.membersCount = membersCount;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public String getOrgSign() {
        return orgSign;
    }

    public void setOrgSign(String orgSign) {
        this.orgSign = orgSign;
    }

    public int getOrgType() {
        return orgType;
    }

    public void setOrgType(int orgType) {
        this.orgType = orgType;
    }

    public long getParClassifyId() {
        return parClassifyId;
    }

    public void setParClassifyId(long parClassifyId) {
        this.parClassifyId = parClassifyId;
    }

    public String getParClassifyName() {
        return parClassifyName;
    }

    public void setParClassifyName(String parClassifyName) {
        this.parClassifyName = parClassifyName;
    }

    public long getUid() {
        return uid;
    }

    public void setUid(long uid) {
        this.uid = uid;
    }

    public long getUniId() {
        return uniId;
    }

    public void setUniId(long uniId) {
        this.uniId = uniId;
    }

    public long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(long updateTime) {
        this.updateTime = updateTime;
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getContactPerson() {
        return contactPerson;
    }

    public void setContactPerson(String contactPerson) {
        this.contactPerson = contactPerson;
    }

    public int getFans() {
        return fans;
    }

    public void setFans(int fans) {
        this.fans = fans;
    }

    public int getFollows() {
        return follows;
    }

    public void setFollows(int follows) {
        this.follows = follows;
    }

    public String getOrgDescription() {
        return orgDescription;
    }

    public void setOrgDescription(String orgDescription) {
        this.orgDescription = orgDescription;
    }

    @Override
    public boolean equals(Object obj) {
        SchoolClubBean bean = (SchoolClubBean) obj;
        if (uid == bean.getUid()){
            return true;
        }
        return false;
    }
}
